function toast(message, type = undefined, title = undefined) {
	$.toast({
		position: 'bottom right',
		title: title,
		message: message,
		class: type,
		displayTime: (type === 'error') ? 0 : undefined
	})
}